loop through dictionary java

116

loop through dictionary java -

for (Map.Entry<String, Object> entry : objects.entrySet()) {
    String key = entry.getKey();
    Object val = entry.getValue();
}

Comments

Submit
0 Comments